package com.bs.bszhsq.service.impl;

import com.bs.bszhsq.entity.Discusss;
import com.bs.bszhsq.mapper.DiscusssMapper;
import com.bs.bszhsq.service.IDiscusssService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 社区信息评论表 服务实现类
 * </p>
 *
 * @author 章宇光
 * @since 2024-04-23
 */
@Service
public class DiscusssServiceImpl extends ServiceImpl<DiscusssMapper, Discusss> implements IDiscusssService {

    @Resource
    private DiscusssMapper discusssMapper;
    @Override
    public List<Discusss> getDiscusss(Long forumId) {
       return discusssMapper.getDiscysss(forumId);
    }
}
